import Vue from 'vue'
import App from './App.vue'
import router from './router'

Vue.config.productionTip = false

// 导入base.less
import "./style/base.less"

// 导入vant.js
import './utils/vant'

// 导入flexible
import 'amfe-flexible'

// 导入vuex
import store from './store/index'

import moment from 'moment'
moment.locale('zh-cn')
    // 全局过滤器
Vue.filter('relvTime', (val) => {
    return moment(val).fromNow()
})

new Vue({
    store,
    router,
    render: h => h(App)
}).$mount('#app')